package com.example.demo;

import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableFileStorage
@SpringBootApplication
@ComponentScan(basePackages = {"com.example.demo","com.example.demo.mapper*"})
@EnableScheduling
public class AdminApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(AdminApplication.class,args);
        System.out.println("Admin服务启动成功\n");
    }
}
